package br.ufc.minijavaufc.ast;

import br.ufc.minijavaufc.visitor.TypeVisitor;
import br.ufc.minijavaufc.visitor.Visitor;

public class Formal {
	public Type type;
	public Identifier identifier;

	public Formal(Type type, Identifier identifier) {
		super();
		this.type = type;
		this.identifier = identifier;
	}

	public void accept(Visitor visitor){
		visitor.visit(this);
	}
	
	public void accept(TypeVisitor visitor) {
		visitor.visit(this);
	}

}
